#include <stdio.h>
#include <stdlib.h>
#include <string.h>

char *test()//错误的代码
{
    return "hello";//只读字符串不能赋值
}

int main()
{
    char *s = test();
    strcpy(s, "aabbcc");
    printf("%s\n", s);
    return 0;
}

